/* 顶部导航条的容器 */
.top-bar-wrapper{
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #333;
    /* float: left; */
}

/* 设置顶部导航条的链接 */
.top-bar a{
    font-size: 12px;
    color:#b0b0b0;
    display: block;
}
.top-bar a:hover{
    color:#fff;
}
/* 设置分割线 */
.top-bar .line{
    font-size: 12px;
    color:#424242;
    margin: 0 8px;
}
/* 设置右侧导航条 */
.service ,.top-bar-wrapper li{
    float: left;
}
/* 下载APP的弹出层 */
.app{
    position: relative;
}
.app .qrcode{
    width: 124px;
    height: 0px;
    overflow: hidden;
    background-color: #ffffff;
    line-height: 1;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    position: absolute;
    left: -38px;
    top: 40px;
    right: 0;
    margin:  auto;
    transition:height .3s;
    background-color: #fff;
    z-index: 9999;
}
/* 弹出的效果设置 */
.app:hover .qrcode{
    height: 148px;
}
.qrcode img{
    width: 90px;
    margin: 17px 17px 10px 17px;
}
.qrcode span{
    color: #000;
    font-size: 14px;
}

/* 设置购物车 */
.shop-car{
    margin-left: 26px;
}
.shop-car,.user-info{
    float: right;
}
.shop-car a{
    width: 120px;
    background-color: #424242;
    text-align: center;
}
.shop-car a i{
    margin-right: 5px;
}
/* 购物车样式 */
.shop-car:hover a{
    background-color: #fff;
    color: #ff6700;
}
/* 购物车弹出层 */
.shop-goods{
    position: relative;
}
.my-goods{
    width: 300px;
    height: 0px;
    overflow: hidden;
    line-height: 100px;
    position: absolute;
    background-color: #fff;
    z-index: 9999;
    box-shadow:  0 10px 10px rgba(0, 0, 0, .2);
    left: -180px;
    top: 40px;
    text-align: center;
    transition:height .3s;
}
/* 弹出效果 */
.shop-goods:hover .my-goods{
    height: 100px;
}
/* ****最顶部结束，头部开始************************************************************* */
/* 设置左边logo */
.header-wrapper{
    width: 100%;
    height: 100px;
    line-height: 100px;
    position: relative;
}
.logo{
    float: left;
    position: relative;
    overflow: hidden;
    width: 55px;
    height: 55px;
    margin: 22px 0 23px 0;
    
}
.logo a{
    position: absolute;
    left: 0;
    width: 55px;
    height: 55px;
    background-image: url('../img/logo.png');
    transition: left .3s;
}
.logo .home{
    background-image: url('../img/home.png');
    left: -55px;
}
.logo:hover .mi{
    left: 55px;
}
.logo:hover .home{
    left: 0px;
}

/* 设置中间菜单 */
.header-menu, .header-menu li{
    float: left;
}
.header-menu{
    margin-left: 68px;
}
.header-menu a{
    font-size: 16px;
    color:#333;
    display: block;
    margin-right: 21px;
}
.header-menu a:hover{
    color:#ff6700;
}

/* 设置右边搜索框 */
.search{
    float: right;
    margin-top: 25px;
}

.search-inp{
    border: 0;
    padding: 0;
    outline: none;
    border: 1px #B2B2B2 solid;
    width: 242px;
    height: 46px;
    float: left;
}

.search-btn{
    float: right;
    border: 0;
    padding: 0;
    outline: none;
    background-color: #fff;
    line-height: 48px;
    border: 1px #B2B2B2 solid;
    height: 48px;
    width: 52px;
    
    border-left: none;
}
.search-btn i{
    font-size: 14px;
}
.search-inp:focus ~ .search-btn,
.search-inp:focus{
    border-color: #ff6700;
}

/* 头部导航弹出层的设置 */
.header-menu-goods{
    width: 100%;
    height: 0px;
    /* background-color: #bfa; */
    position: absolute;
    background-color: #fff;
    z-index: 9999;
    left: 0;
    top: 100px;
    transition: height .3s;
}
.show-goods:hover ~ .header-menu-goods,
.header-menu-goods:hover{
    height: 230px;
    border-top: 1px solid #B2B2B2;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, .2);
}

/* 设置banner左侧导航条 */
.left-menu-wrapper{
    float: left;
    position: relative;
}
.left-menu{
    position: absolute;
    z-index: 99;
    float: left;
    width: 234px;
    background-color: rgba(0,0,0,.4);
    /* background-color: #bfa; */
    line-height: 1;
    left: -123px;
    top: 100px;
    padding: 20px 0;
    overflow: hidden;
}
.left-menu a{
    width: 204px;
    height: 42px;
    line-height: 42px;
    padding: 0 0 0 30px;
}
.left-menu a i{
    float: right;
    line-height: 42px;
    padding-right: 20px;
}
.left-menu a:hover{
    background-color: #ff6700;
    color: wheat;
}
/* ************头部导航结束，banner开始****************************** */
.banner{
    position: relative;
    /* border: 1px solid transparent; */
    height: 460px;
}
.banner li{
    position: absolute;
}
/* 设置五个小点 */
.pointer-wrapper{
    /* background-color: #bfa; */
    position: absolute;
    z-index: 99;
    width: 100px;
    height: 20px;
    /* left: 0; */
    /* top: 0; */
    right: 34px;
    bottom: 24px;
}
.pointer-wrapper a{
    float: left;
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .6);
    border: 2px solid  #AFB8B7;
    margin-left: 8px;
}
.pointer-wrapper a:hover{
    background-color: #AFB8B7;
}
/* *******************设置最下边广告栏******************** */
.ad-wrapper{
    margin-top: 14px;
}
.ad-menu{
    float: left;
    background-color: #5F5750;
    width: 234px;
}
.ad-menu li{
    float: left;
}
.ad-menu a{
    display: inline-block;
    width: 78px;
    height: 63px;
    color: #B1ADAA;
    font-size: 12px;
    text-align: center;
    padding-top: 22px;
}
.ad-menu i{
    font-size: 25px;
    display: block;
    text-align: center;
    padding-bottom: 8px;
}

/* 设置右边图片 */
.ad-img{
    float: right;
}
.ad-img li{
    float: left;
}
.ad-img li:not(:last-child){
    margin-right: 14px;
}

.ad-menu a:hover{
    color:white;
}